package blf.librarysystem.Pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Book {
    private Integer book_Id;
    
    private String book_Name;

    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
    private Date borrow_Time;

    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
    private Date return_Time;
    
    private Integer reader_Id;

    private String borrow_Name;

    private String borrow_Status;

    private String statusIntroduce;

    private String action;

    public Integer getBookId() {
        return book_Id;
    }

    public void setBookId(Integer bookId) {
        this.book_Id = bookId;
    }

    public String getBookName() {
        return book_Name;
    }

    public void setBookName(String bookName) {
        this.book_Name = bookName == null ? null : bookName.trim();
    }

    public Date getBorrowTime() {
        return borrow_Time;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrow_Time = borrowTime;
    }

    public Date getReturnTime() {
        return return_Time;
    }

    public void setReturnTime(Date returnTime) {
        this.return_Time = returnTime;
    }

    public Integer getReaderId() {
        return reader_Id;
    }

    public void setReaderId(Integer readerId) {
        this.reader_Id = readerId;
    }

    public String getBorrowStatus() {
        return borrow_Status;
    }

    public void setBorrowStatus(String borrowStatus) {
        this.borrow_Status = borrowStatus == null ? null : borrowStatus.trim();
    }

    public String getBorrowName() {
        return borrow_Name;
    }

    public void setBorrowName(String borrowName) {
        this.borrow_Name = borrowName;
    }

    public String getStatusIntroduce() {
        return statusIntroduce;
    }

    public void setStatusIntroduce(String statusIntroduce) {
        this.statusIntroduce = statusIntroduce;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}